package com.study.spring.mybatisCursor.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2021-11-14 21:11:32
 */
public class User implements Serializable {
    private static final long serialVersionUID = 833536766331450558L;
    
    private Integer id;
    
    private String username;
    
    private String password;
    /**
    * 手机号
    */
    private String phone;
    /**
    * 头像地址
    */
    private String imagePath;
    /**
    * 是否可评论，4否，2是
    */
    private Integer enableComment;
    /**
    * 是否可登录，3否，1是
    */
    private Integer enableLogin;
    /**
    * 学习时长
    */
    private String duration;
    /**
    * 角色id集合，以,分割
    */
    private String roleIds;
    /**
    * 注册时间
    */
    private Date registerTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public Integer getEnableComment() {
        return enableComment;
    }

    public void setEnableComment(Integer enableComment) {
        this.enableComment = enableComment;
    }

    public Integer getEnableLogin() {
        return enableLogin;
    }

    public void setEnableLogin(Integer enableLogin) {
        this.enableLogin = enableLogin;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

}